﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Manage_ClassInfo" Codebehind="ClassInfo.aspx.cs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<HTML>
	<HEAD>
		<title></title>

  <link href="../css.css" rel="stylesheet" type="text/css" />
		
	</HEAD>
	<body style="font-size: 9pt">
		<form id="Form1"  runat="server">
				
								
													<TABLE id="Table4" style="HEIGHT: 258px; width: 113%; font-size: 9pt;" align="left" cellSpacing="1" cellPadding="0" border="0" >
														<TR>
															<TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; PADDING-TOP: 20px; height: 284px;" vAlign="top" width="100%">
                                                                <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="班级信息"></asp:Label>
                                                                <asp:Label ID="Label2" runat="server"></asp:Label>

																<HR style="WIDTH: 100%; HEIGHT: 2px" SIZE="2">
																<TABLE id="Table6" style="WIDTH: 100%; HEIGHT: 20px; font-size: 9pt;" cellSpacing="1" cellPadding="1" border="0">
																	<TR>
																		<TD noWrap style="height: 25px; width: 671px;" align="left">
                                                                            输入查询条件:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                                                            <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="84px">
                                                                                <asp:ListItem Value="ClassId">班级名称</asp:ListItem>
                                                                                <asp:ListItem Value="TeacherName">教课老师</asp:ListItem>
                                                                                <asp:ListItem Value="Grade">年级</asp:ListItem>
                                                                                <asp:ListItem Value="state">状态</asp:ListItem>
                                                                            </asp:DropDownList>&nbsp; &nbsp;
                                                                            <asp:Button ID="Button2" class="BnCss" runat="server" Text="查　询" OnClick="Button2_Click" /></TD>
																		<TD noWrap align="left" style="height: 25px">
                                                                            &nbsp;
																			</TD>
																	</TR>
																</TABLE>
																<TABLE id="Table7" style="WIDTH: 0.01%; HEIGHT: 107px" cellSpacing="0" cellPadding="0" border="0">
																	<TR>
																		<TD vAlign="top">
																			<TABLE cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1" style="font-size: 9pt; width: 100%; height: 174px">
																				<tr>
																					<td style="width: 203px; height: 158px;">
                                                                                        &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Height="77px" Width="769px" DataKeyNames="Classid" OnRowEditing="GridView1_RowEditing" OnRowDataBound="GridView1_RowDataBound1" OnRowDeleting="GridView1_RowDeleting1" style="font-size: 9pt" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" >
                                                                                              <RowStyle  CssClass="textcenter" ForeColor="#000066"/>
                                                        <FooterStyle CssClass="headcenter" BackColor="White" ForeColor="#000066"></FooterStyle>
                                                                                            <Columns>
                                                                                                <asp:BoundField DataField="Classid" HeaderText="班级名称" />
                                                                                                <asp:BoundField DataField="EntranceTime" HeaderText="开学日期" />
                                                                                                <asp:BoundField DataField="ManCount" HeaderText="班级人数" />
                                                                                                <asp:BoundField DataField="TeacherName" HeaderText="任课老师" />
                                                                                                <asp:BoundField DataField="Grade" HeaderText="年级" />
                                                                                                <asp:BoundField DataField="State" HeaderText="状态" />
                                                                                                <asp:CommandField HeaderText="更新" ShowEditButton="True" EditText="更新" />
                                                                                                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                                                                                            </Columns>
                                                                                            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                                                                            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                                                                            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                                                                                        </asp:GridView>
                                                                                        <webdiyer:AspNetPager ID="AspNetPager2" runat="server" CustomInfoHTML="第<font color='red'><b>%CurrentPageIndex%</b></font>页  共:%PageCount%页&nbsp; %StartRecordIndex%-%EndRecordIndex%"
                                                                                            CustomInfoTextAlign="Center" FirstPageText="【首页】" Height="25px" HorizontalAlign="Center"
                                                                                            InputBoxStyle="width:19px" LastPageText="【尾页】" NextPageText="【下页】 " OnPageChanged="AspNetPager2_PageChanged"
                                                                                            PrevPageText="【前页】 " ShowCustomInfoSection="Left" ShowInputBox="Never" ShowNavigationToolTip="True"
                                                                                            Width="736px" style="font-size: 9pt">
                                                                                        </webdiyer:AspNetPager>
																			
																		</TD>
																	</TR>
																</TABLE>
		</form>
	</body>
</HTML>
